package com.aspose.cells.a.d;

import java.awt.RenderingHints.Key;
import java.util.HashMap;
import java.util.Map;

public class zb extends zd implements zbg {
   private zam a;
   private com.aspose.cells.b.a.b.a.zi b;
   private zn c;
   private zi d;
   private Map<Key, Object> e = new HashMap();

   public void a(ze var1) throws Exception {
      if (this.e() == null) {
         var1.a(this);
         super.a(var1);
         var1.b(this);
      } else if (this.e().a(var1.b)) {
         var1.a(this);
         super.a(var1);
         var1.b(this);
      } else {
         if (this.e().c(var1.b)) {
            if (this.e().c == 0) {
               int var2 = this.e().b(var1.b);
               if (var2 > 1) {
                  this.e().c = var2;
                  this.e().d = 1;
                  com.aspose.cells.b.a.a.ze.a(var1.a, (Object)this);
               } else {
                  this.e().c = 1;
                  this.e().d = 1;
               }
            }

            var1.a(this);
            super.a(var1);
            var1.b(this);
         }

      }
   }

   public com.aspose.cells.b.a.b.a.zi a() {
      return this.b;
   }

   public void a(com.aspose.cells.b.a.b.a.zi var1) {
      this.b = var1;
   }

   public zn b() {
      return this.c;
   }

   public void a(zn var1) {
      this.c = var1;
   }

   public boolean c() {
      return false;
   }

   public zi d() {
      return this.d;
   }

   public void a(zi var1) {
      this.d = var1;
   }

   public zam e() {
      return this.a;
   }

   public void a(zam var1) {
      this.a = var1;
   }

   public Map<Key, Object> f() {
      return this.e;
   }

   public void a(Key var1, Object var2) {
      this.e.put(var1, var2);
   }
}
